Platform Explorer / Nuxeo Platform 2021.24

Component org.nuxeo.ecm.core.automation.features.bulk

Requirements

Resolution Order

801
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<?xml version="1.0"?>
<component name="org.nuxeo.ecm.core.automation.features.bulk" version="1.0.0">

  <require>org.nuxeo.ecm.core.bulk.config</require>

  <extension target="org.nuxeo.ecm.core.bulk" point="actions">
    <action name="automation" inputStream="bulk/automation" bucketSize="100" batchSize="10" httpEnabled="true"
      validationClass="org.nuxeo.ecm.automation.core.operations.services.bulk.validation.AutomationBulkValidation" />

    <action name="automationUi" inputStream="bulk/automationUi" bucketSize="100" batchSize="10" httpEnabled="true"
      validationClass="org.nuxeo.ecm.automation.core.operations.services.bulk.validation.AutomationBulkValidation"
      defaultScroller="elastic" />
  </extension>

  <extension target="org.nuxeo.runtime.stream.service" point="streamProcessor">
    <streamProcessor name="automation"
      class="org.nuxeo.ecm.automation.core.operations.services.bulk.AutomationBulkAction"
      defaultConcurrency="${nuxeo.bulk.action.automation.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.automation.defaultPartitions:=2}">
    <policy name="default" maxRetries="3" delay="1s" continueOnFailure="true" />
    </streamProcessor>

    <streamProcessor name="automationUi"
      class="org.nuxeo.ecm.automation.core.operations.services.bulk.AutomationBulkActionUi"
      defaultConcurrency="${nuxeo.bulk.action.automationUi.defaultConcurrency:=2}"
      defaultPartitions="${nuxeo.bulk.action.automationUi.defaultPartitions:=2}">
      <policy name="default" maxRetries="3" delay="1s" continueOnFailure="true" />
      <option name="failOnError">false</option>
    </streamProcessor>
  </extension>

</component>